package cn.sherer.beans.kuaishou;

/**
 * 快手Token
 */
public class KsToken extends KsResult {
    private String access_token;
    private int expires_in;
    private String token_type;

    public KsToken() {
    }

    public KsToken(int result, String error_msg) {
        super(result, error_msg);
    }

    public KsToken(int result, String error, String error_msg) {
        super(result, error, error_msg);
    }

    public String getAccess_token() {
        return access_token;
    }

    public void setAccess_token(String access_token) {
        this.access_token = access_token;
    }

    public int getExpires_in() {
        return expires_in;
    }

    public void setExpires_in(int expires_in) {
        this.expires_in = expires_in;
    }

    public String getToken_type() {
        return token_type;
    }

    public void setToken_type(String token_type) {
        this.token_type = token_type;
    }

    @Override
    public String toString() {
        return "KsToken{" + "result=" + this.getResult() + ", error=" + this.getError() + ", error_msg=" + this.getError_msg() + ", access_token=" + access_token + ", expires_in=" + expires_in + ", token_type=" + token_type + "}";
    }
}
